package com.wx.gof.principle.dependencyinversion;

/**
 * @ClassName ProgrammerV2
 * @Author wx
 * @Description 程序员
 * @Date 2018-12-02-17:02
 */
public class ProgrammerV2 {
    private ICourse iCourse;

    public void setiCourse(ICourse iCourse) {
        this.iCourse = iCourse;
    }

    public void studyImoocCourse() {
        iCourse.studyCourse();
    }
}
